package com.joker.orange.domain.bo;

import com.joker.common.core.domain.BaseEntity;
import com.joker.common.core.validate.AddGroup;
import com.joker.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 短视频用户业务对象 t_short_video_user
 *
 * @author Joker
 * @date 2024-06-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ShortVideoUserBo extends BaseEntity {

    /**
     * 唯一标识
     */
    @NotNull(message = "唯一标识不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户名称
     */
    @NotBlank(message = "用户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userName;

    /**
     * 用户头像
     */
    @NotBlank(message = "用户头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String avatar;

    /**
     * 备注
     */
    private String remark;

    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;


}
